package com.hhf.rpa.job.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseJobLog {
    @TableId
    private Long logId;
    private Integer jobId;
    private String jobName;
    /**
     * 脚本类型，CLASS：全类名，BEAN：springBean，GLUE_GROOVY：java在线脚本
     */
    private String glueType;
    /**
     * springBean
     */
    protected String beanName;
    /**
     * 在线脚本
     */
    protected String glueCode;
    private String className;
    private String method;
    private String params;
    private String cron;
    // 1自动执行，2手动执行
    private Integer execType;
    // 0执行失败，1执行成功
    private Integer execStatus;
    private String execMsg;
    private LocalDateTime created;
    private String createdBy;
    private LocalDateTime updated;
    private String host;
    private String mailTmpCode;
}
